::md output
:: fix egg pa

mkdir bin
mkdir output

copy /y %~dp0\NSIS\makensis.exe %~dp0\NSIS\makensis.exe.bak
del /q %~dp0\NSIS\makensis.exe
copy /y %~dp0\NSIS\makensis.exe.bak %~dp0\NSIS\makensis.exe

%~dp0NSIS/makensis.exe %~dp0Install.nsi
::@pause